// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.QuartzTaskDao;
import com.liuxinlong.modules.entity.QuartzTask;
import com.liuxinlong.modules.mapper.QuartzTaskMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * QuartzTaskDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年2月22日
 */
@Service
public class QuartzTaskDaoImpl extends ServiceImpl<QuartzTaskMapper, QuartzTask> implements QuartzTaskDao {

	@Override
	public List<QuartzTask> pageTaskList(Map<String, Object> queryParam) {
		return baseMapper.queryTaskList(queryParam);
	}

	@Override
	public int getQuartzJobsCount(Map<String, Object> queryParam) {
		return baseMapper.getQuartzJobsCount(queryParam);
	}

}
